package tpInterface;

import java.util.List;
import object.Producer;
import object.ReturnBool;

/**
 *
 * @author SonTT
 */
public interface IProducer {

    // Get producer:
    List<Producer> getProducers();

    // Add new producer:
    ReturnBool addProducer(Producer producer);

    // Edit producer:
    ReturnBool editProducer(Producer producer);

    // Delete producer:
    ReturnBool deleteProducer(String producerID);

    // Delete producers:
    ReturnBool deleteProducers(String[] producerIDs);

    // Search producer:
    List<Producer> searchProducer(String keyword);
}
